Entrer un problème...
Algèbre linéaire Exemples
14x-21y-7z=10 , -4x+2y-2z=4 , 56x-21y+7z=5
Étape 1
Déterminez le AX=B à partir du système d’équations.
[14-21-7-42-256-217]⋅[xyz]=[1045]
Étape 2
Étape 2.1
Find the determinant.
Étape 2.1.1
Choose the row or column with the most 0 elements. If there are no 0 elements choose any row or column. Multiply every element in row 1 by its cofactor and add.
Étape 2.1.1.1
Consider the corresponding sign chart.
|+-+-+-+-+|
Étape 2.1.1.2
The cofactor is the minor with the sign changed if the indices match a - position on the sign chart.
Étape 2.1.1.3
The minor for a11 is the determinant with row 1 and column 1 deleted.
|2-2-217|
Étape 2.1.1.4
Multiply element a11 by its cofactor.
14|2-2-217|
Étape 2.1.1.5
The minor for a12 is the determinant with row 1 and column 2 deleted.
|-4-2567|
Étape 2.1.1.6
Multiply element a12 by its cofactor.
21|-4-2567|
Étape 2.1.1.7
The minor for a13 is the determinant with row 1 and column 3 deleted.
|-4256-21|
Étape 2.1.1.8
Multiply element a13 by its cofactor.
-7|-4256-21|
Étape 2.1.1.9
Add the terms together.
14|2-2-217|+21|-4-2567|-7|-4256-21|
14|2-2-217|+21|-4-2567|-7|-4256-21|
Étape 2.1.2
Évaluez |2-2-217|.
Étape 2.1.2.1
Le déterminant d’une matrice 2×2 peut être déterminé en utilisant la formule |abcd|=ad-cb.
14(2⋅7-(-21⋅-2))+21|-4-2567|-7|-4256-21|
Étape 2.1.2.2
Simplifiez le déterminant.
Étape 2.1.2.2.1
Simplifiez chaque terme.
Étape 2.1.2.2.1.1
Multipliez 2 par 7.
14(14-(-21⋅-2))+21|-4-2567|-7|-4256-21|
Étape 2.1.2.2.1.2
Multipliez -(-21⋅-2).
Étape 2.1.2.2.1.2.1
Multipliez -21 par -2.
14(14-1⋅42)+21|-4-2567|-7|-4256-21|
Étape 2.1.2.2.1.2.2
Multipliez -1 par 42.
14(14-42)+21|-4-2567|-7|-4256-21|
14(14-42)+21|-4-2567|-7|-4256-21|
14(14-42)+21|-4-2567|-7|-4256-21|
Étape 2.1.2.2.2
Soustrayez 42 de 14.
14⋅-28+21|-4-2567|-7|-4256-21|
14⋅-28+21|-4-2567|-7|-4256-21|
14⋅-28+21|-4-2567|-7|-4256-21|
Étape 2.1.3
Évaluez |-4-2567|.
Étape 2.1.3.1
Le déterminant d’une matrice 2×2 peut être déterminé en utilisant la formule |abcd|=ad-cb.
14⋅-28+21(-4⋅7-56⋅-2)-7|-4256-21|
Étape 2.1.3.2
Simplifiez le déterminant.
Étape 2.1.3.2.1
Simplifiez chaque terme.
Étape 2.1.3.2.1.1
Multipliez -4 par 7.
14⋅-28+21(-28-56⋅-2)-7|-4256-21|
Étape 2.1.3.2.1.2
Multipliez -56 par -2.
14⋅-28+21(-28+112)-7|-4256-21|
14⋅-28+21(-28+112)-7|-4256-21|
Étape 2.1.3.2.2
Additionnez -28 et 112.
14⋅-28+21⋅84-7|-4256-21|
14⋅-28+21⋅84-7|-4256-21|
14⋅-28+21⋅84-7|-4256-21|
Étape 2.1.4
Évaluez |-4256-21|.
Étape 2.1.4.1
Le déterminant d’une matrice 2×2 peut être déterminé en utilisant la formule |abcd|=ad-cb.
14⋅-28+21⋅84-7(-4⋅-21-56⋅2)
Étape 2.1.4.2
Simplifiez le déterminant.
Étape 2.1.4.2.1
Simplifiez chaque terme.
Étape 2.1.4.2.1.1
Multipliez -4 par -21.
14⋅-28+21⋅84-7(84-56⋅2)
Étape 2.1.4.2.1.2
Multipliez -56 par 2.
14⋅-28+21⋅84-7(84-112)
14⋅-28+21⋅84-7(84-112)
Étape 2.1.4.2.2
Soustrayez 112 de 84.
14⋅-28+21⋅84-7⋅-28
14⋅-28+21⋅84-7⋅-28
14⋅-28+21⋅84-7⋅-28
Étape 2.1.5
Simplifiez le déterminant.
Étape 2.1.5.1
Simplifiez chaque terme.
Étape 2.1.5.1.1
Multipliez 14 par -28.
-392+21⋅84-7⋅-28
Étape 2.1.5.1.2
Multipliez 21 par 84.
-392+1764-7⋅-28
Étape 2.1.5.1.3
Multipliez -7 par -28.
-392+1764+196
-392+1764+196
Étape 2.1.5.2
Additionnez -392 et 1764.
1372+196
Étape 2.1.5.3
Additionnez 1372 et 196.
1568
1568
1568
Étape 2.2
Since the determinant is non-zero, the inverse exists.
Étape 2.3
Set up a 3×6 matrix where the left half is the original matrix and the right half is its identity matrix.
[14-21-7100-42-201056-217001]
Étape 2.4
Déterminez la forme d’échelon en ligne réduite.
Étape 2.4.1
Multiply each element of R1 by 114 to make the entry at 1,1 a 1.
Étape 2.4.1.1
Multiply each element of R1 by 114 to make the entry at 1,1 a 1.
[1414-2114-714114014014-42-201056-217001]
Étape 2.4.1.2
Simplifiez R1.
[1-32-1211400-42-201056-217001]
[1-32-1211400-42-201056-217001]
Étape 2.4.2
Perform the row operation R2=R2+4R1 to make the entry at 2,1 a 0.
Étape 2.4.2.1
Perform the row operation R2=R2+4R1 to make the entry at 2,1 a 0.
[1-32-1211400-4+4⋅12+4(-32)-2+4(-12)0+4(114)1+4⋅00+4⋅056-217001]
Étape 2.4.2.2
Simplifiez R2.
[1-32-12114000-4-4271056-217001]
[1-32-12114000-4-4271056-217001]
Étape 2.4.3
Perform the row operation R3=R3-56R1 to make the entry at 3,1 a 0.
Étape 2.4.3.1
Perform the row operation R3=R3-56R1 to make the entry at 3,1 a 0.
[1-32-12114000-4-4271056-56⋅1-21-56(-32)7-56(-12)0-56(114)0-56⋅01-56⋅0]
Étape 2.4.3.2
Simplifiez R3.
[1-32-12114000-4-4271006335-401]
[1-32-12114000-4-4271006335-401]
Étape 2.4.4
Multiply each element of R2 by -14 to make the entry at 2,2 a 1.
Étape 2.4.4.1
Multiply each element of R2 by -14 to make the entry at 2,2 a 1.
[1-32-1211400-14⋅0-14⋅-4-14⋅-4-14⋅27-14⋅1-14⋅006335-401]
Étape 2.4.4.2
Simplifiez R2.
[1-32-1211400011-114-14006335-401]
[1-32-1211400011-114-14006335-401]
Étape 2.4.5
Perform the row operation R3=R3-63R2 to make the entry at 3,2 a 0.
Étape 2.4.5.1
Perform the row operation R3=R3-63R2 to make the entry at 3,2 a 0.
[1-32-1211400011-114-1400-63⋅063-63⋅135-63⋅1-4-63(-114)0-63(-14)1-63⋅0]
Étape 2.4.5.2
Simplifiez R3.
[1-32-1211400011-114-14000-28126341]
[1-32-1211400011-114-14000-28126341]
Étape 2.4.6
Multiply each element of R3 by -128 to make the entry at 3,3 a 1.
Étape 2.4.6.1
Multiply each element of R3 by -128 to make the entry at 3,3 a 1.
[1-32-1211400011-114-140-128⋅0-128⋅0-128⋅-28-128⋅12-128⋅634-128⋅1]
Étape 2.4.6.2
Simplifiez R3.
[1-32-1211400011-114-140001-156-916-128]
[1-32-1211400011-114-140001-156-916-128]
Étape 2.4.7
Perform the row operation R2=R2-R3 to make the entry at 2,3 a 0.
Étape 2.4.7.1
Perform the row operation R2=R2-R3 to make the entry at 2,3 a 0.
[1-32-12114000-01-01-1-114+156-14+9160+128001-156-916-128]
Étape 2.4.7.2
Simplifiez R2.
[1-32-1211400010-356516128001-156-916-128]
[1-32-1211400010-356516128001-156-916-128]
Étape 2.4.8
Perform the row operation R1=R1+12R3 to make the entry at 1,3 a 0.
Étape 2.4.8.1
Perform the row operation R1=R1+12R3 to make the entry at 1,3 a 0.
[1+12⋅0-32+12⋅0-12+12⋅1114+12(-156)0+12(-916)0+12(-128)010-356516128001-156-916-128]
Étape 2.4.8.2
Simplifiez R1.
[1-320116-932-156010-356516128001-156-916-128]
[1-320116-932-156010-356516128001-156-916-128]
Étape 2.4.9
Perform the row operation R1=R1+32R2 to make the entry at 1,2 a 0.
Étape 2.4.9.1
Perform the row operation R1=R1+32R2 to make the entry at 1,2 a 0.
[1+32⋅0-32+32⋅10+32⋅0116+32(-356)-932+32⋅516-156+32⋅128010-356516128001-156-916-128]
Étape 2.4.9.2
Simplifiez R1.
[100-156316128010-356516128001-156-916-128]
[100-156316128010-356516128001-156-916-128]
[100-156316128010-356516128001-156-916-128]
Étape 2.5
The right half of the reduced row echelon form is the inverse.
[-156316128-356516128-156-916-128]
[-156316128-356516128-156-916-128]
Étape 3
Multipliez à gauche les deux côtés de l’équation de la matrice par la matrice inverse.
([-156316128-356516128-156-916-128]⋅[14-21-7-42-256-217])⋅[xyz]=[-156316128-356516128-156-916-128]⋅[1045]
Étape 4
Toute matrice multipliée par son inverse est toujours égale à 1. A⋅A-1=1.
[xyz]=[-156316128-356516128-156-916-128]⋅[1045]
Étape 5
Étape 5.1
Two matrices can be multiplied if and only if the number of columns in the first matrix is equal to the number of rows in the second matrix. In this case, the first matrix is 3×3 and the second matrix is 3×1.
Étape 5.2
Multipliez chaque ligne dans la première matrice par chaque colonne dans la deuxième matrice.
[-156⋅10+316⋅4+128⋅5-356⋅10+516⋅4+128⋅5-156⋅10-916⋅4-128⋅5]
Étape 5.3
Simplifiez chaque élément de la matrice en multipliant toutes les expressions.
[342528-7328]
[342528-7328]
Étape 6
Simplifiez les côtés gauche et droit.
[xyz]=[342528-7328]
Étape 7
Déterminez la solution.
x=34
y=2528
z=-7328